extends Node2D
@onready var test_13: GridContainer= $GridContainer
@onready var panel: Panel = $Panel

func _ready() -> void:
	# 设置 Panel 覆盖整个 GridContainer
	panel.size = Vector2(500, 500)

	# 设置 Panel 颜色
	var style = StyleBoxFlat.new()
	style.bg_color = Color(0.9, 0.9, 0.9)  # 浅灰色
	panel.add_theme_stylebox_override("panel", style)
	for i in range(57):
		var label = Label.new()
		label.text = "    撒旦发多少"+str(i)
		if i == 0:
			label.add_theme_color_override("font_color", ColorUtil.Color_0)
		elif i == 1:
			label.add_theme_color_override("font_color", ColorUtil.Color_1)
		elif i == 2:
			label.add_theme_color_override("font_color", ColorUtil.Color_2)
		elif i == 3:
			label.add_theme_color_override("font_color", ColorUtil.Color_3)
		elif i == 4:
			label.add_theme_color_override("font_color", ColorUtil.Color_4)
		elif i == 5:
			label.add_theme_color_override("font_color", ColorUtil.Color_5)
		elif i == 6:
			label.add_theme_color_override("font_color", ColorUtil.Color_6)
		elif i == 7:
			label.add_theme_color_override("font_color", ColorUtil.Color_7)
		elif i == 8:
			label.add_theme_color_override("font_color", ColorUtil.Color_8)
		elif i == 9:
			label.add_theme_color_override("font_color", ColorUtil.Color_9)
		elif i == 10:
			label.add_theme_color_override("font_color", ColorUtil.Color_10)
		elif i == 11:
			label.add_theme_color_override("font_color", ColorUtil.Color_11)
		elif i == 12:
			label.add_theme_color_override("font_color", ColorUtil.Color_12)
		elif i == 13:
			label.add_theme_color_override("font_color", ColorUtil.Color_13)
		elif i == 14:
			label.add_theme_color_override("font_color", ColorUtil.Color_14)
		elif i == 15:
			label.add_theme_color_override("font_color", ColorUtil.Color_15)
		elif i == 16:
			label.add_theme_color_override("font_color", ColorUtil.Color_16)
		elif i == 17:
			label.add_theme_color_override("font_color", ColorUtil.Color_17)
		elif i == 18:
			label.add_theme_color_override("font_color", ColorUtil.Color_18)
		elif i == 19:
			label.add_theme_color_override("font_color", ColorUtil.Color_19)
		elif i == 20:
			label.add_theme_color_override("font_color", ColorUtil.Color_20)
		elif i == 21:
			label.add_theme_color_override("font_color", ColorUtil.Color_21)
		elif i == 22:
			label.add_theme_color_override("font_color", ColorUtil.Color_22)
		elif i == 23:
			label.add_theme_color_override("font_color", ColorUtil.Color_23)
		elif i == 24:
			label.add_theme_color_override("font_color", ColorUtil.Color_24)
		elif i == 25:
			label.add_theme_color_override("font_color", ColorUtil.Color_25)
		elif i == 26:
			label.add_theme_color_override("font_color", ColorUtil.Color_26)
		elif i == 27:
			label.add_theme_color_override("font_color", ColorUtil.Color_27)
		elif i == 28:
			label.add_theme_color_override("font_color", ColorUtil.Color_28)
		elif i == 29:
			label.add_theme_color_override("font_color", ColorUtil.Color_29)
		elif i == 30:
			label.add_theme_color_override("font_color", ColorUtil.Color_30)
		elif i == 31:
			label.add_theme_color_override("font_color", ColorUtil.Color_31)
		elif i == 32:
			label.add_theme_color_override("font_color", ColorUtil.Color_32)
		elif i == 33:
			label.add_theme_color_override("font_color", ColorUtil.Color_33)
		elif i == 34:
			label.add_theme_color_override("font_color", ColorUtil.Color_34)
		elif i == 35:
			label.add_theme_color_override("font_color", ColorUtil.Color_35)
		elif i == 36:
			label.add_theme_color_override("font_color", ColorUtil.Color_36)
		elif i == 37:
			label.add_theme_color_override("font_color", ColorUtil.Color_37)
		elif i == 38:
			label.add_theme_color_override("font_color", ColorUtil.Color_38)
		elif i == 39:
			label.add_theme_color_override("font_color", ColorUtil.Color_39)
		elif i == 40:
			label.add_theme_color_override("font_color", ColorUtil.Color_40)
		elif i == 41:
			label.add_theme_color_override("font_color", ColorUtil.Color_41)
		elif i == 42:
			label.add_theme_color_override("font_color", ColorUtil.Color_42)
		elif i == 43:
			label.add_theme_color_override("font_color", ColorUtil.Color_43)
		elif i == 44:
			label.add_theme_color_override("font_color", ColorUtil.Color_44)
		elif i == 45:
			label.add_theme_color_override("font_color", ColorUtil.Color_45)
		elif i == 46:
			label.add_theme_color_override("font_color", ColorUtil.Color_46)
		elif i == 47:
			label.add_theme_color_override("font_color", ColorUtil.Color_47)
		elif i == 48:
			label.add_theme_color_override("font_color", ColorUtil.Color_48)
		elif i == 49:
			label.add_theme_color_override("font_color", ColorUtil.Color_49)
		elif i == 50:
			label.add_theme_color_override("font_color", ColorUtil.Color_50)
		elif i == 51:
			label.add_theme_color_override("font_color", ColorUtil.Color_51)
		elif i == 52:
			label.add_theme_color_override("font_color", ColorUtil.Color_52)
		elif i == 53:
			label.add_theme_color_override("font_color", ColorUtil.Color_53)
		elif i == 54:
			label.add_theme_color_override("font_color", ColorUtil.Color_54)
		elif i == 55:
			label.add_theme_color_override("font_color", ColorUtil.Color_55)
		elif i == 56:
			label.add_theme_color_override("font_color", ColorUtil.Color_56)
		test_13.add_child(label)
